<?php
    /*
     * Copyright 2013 by Jerrick Hoang, Ivy Xing, Sam Roberts, James Cook,
     * Johnny Coster, Judy Yang, Jackson Moniaga, Oliver Radwan,
     * Maxwell Palmer, Nolan McNair, Taylor Talmage, and Allen Tucker.
     * This program is part of RMH Homebase, which is free software.  It comes with
     * absolutely no warranty. You can redistribute and/or modify it under the terms
     * of the GNU General Public License as published by the Free Software Foundation
     * (see <http://www.gnu.org/licenses/ for more information).
     *
     */

    /*
     * This file is only the connection information for the database.
     * This file will be modified for every installation.
     * @author Max Palmer <mpalmer@bowdoin.edu>
     * @version updated 2/12/08
     */

    function connect() {


        $host = "localhost";
        $database = "dbbscah";
        $user = "dbbscah";
        $pass = "cus1166";

        $connected = mysql_connect($host, $user, $pass);
        if (!$connected) {
            return mysql_error();
        }
        $selected = mysql_select_db($database, $connected);
        if (!$selected) {
            return mysql_error();
        }
        else {
            return true;
        }
    }

?>
